package com.ruoyi.userInfo.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 用户绑定产品对象 iac_product
 * 
 * @author ruoyi
 * @date 2025-02-13
 */
public class IacProduct extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 序号 */
    private Long id;

    /** 绑定产品名称 */
    @Excel(name = "绑定产品名称")
    private String productName;

    /** 绑定设备名称 */
    @Excel(name = "绑定设备名称")
    private String equipmentName;

    /** 绑定状态 */
    @Excel(name = "绑定状态")
    private Long status;

    /** 绑定时长 */
    @Excel(name = "绑定时长")
    private String bindDuration;

    /** 绑定时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "绑定时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date bindTime;

    /** 解绑时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "解绑时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date untyingTime;

    /** 外键 */
    @Excel(name = "外键")
    private Long userInfoId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setProductName(String productName) 
    {
        this.productName = productName;
    }

    public String getProductName() 
    {
        return productName;
    }
    public void setEquipmentName(String equipmentName) 
    {
        this.equipmentName = equipmentName;
    }

    public String getEquipmentName() 
    {
        return equipmentName;
    }
    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }
    public void setBindDuration(String bindDuration) 
    {
        this.bindDuration = bindDuration;
    }

    public String getBindDuration() 
    {
        return bindDuration;
    }
    public void setBindTime(Date bindTime) 
    {
        this.bindTime = bindTime;
    }

    public Date getBindTime() 
    {
        return bindTime;
    }

    public Date getUntyingTime() {
        return untyingTime;
    }

    public void setUntyingTime(Date untyingTime) {
        this.untyingTime = untyingTime;
    }

    public void setUserInfoId(Long userInfoId)
    {
        this.userInfoId = userInfoId;
    }

    public Long getUserInfoId() 
    {
        return userInfoId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("productName", getProductName())
            .append("equipmentName", getEquipmentName())
            .append("status", getStatus())
            .append("bindDuration", getBindDuration())
            .append("bindTime", getBindTime())
            .append("untyingTime", getUntyingTime())
            .append("userInfoId", getUserInfoId())
            .toString();
    }
}
